package sctu.edu.java.year2016.team05.zengkun.day20160528.LittleTest2;

/**
 * Created by mike on 2016/5/29.
 */
public class Customer {
    public static void main(String[] args) {
        System.out.println("顾客要购买BMW：");
        LittleTest bmw =CarFactory.getCar("BMW");
        System.out.println("提取汽车："+bmw.getinfo());
        System.out.println("顾客要购买Benz：");
       LittleTest benz=CarFactory.getCar("Benz");
        System.out.println("提取汽车："+benz.getinfo());
    }
}
